import React from 'react';
import {Select,Cascader } from 'antd';
import style from './VortexSelect.less';

class VortexSelect extends React.Component{
    constructor(props){
        super(props);
    }
    render(){
        let props = this.props;
        return (
            <Select {...props} className={props.singleLine?style.singleLine:null}/>
        )
    }
}

export const VortexCascader = (props)=>{
    return (
        <Cascader {...props} />
    )
}
export const VortexOption = Select.Option;
export const VortexOptGroup = Select.OptGroup;

export default VortexSelect;